package com.ruoyi.Sign.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 签到表 xyb_sign
 * 
 * @author ruoyi
 * @date 2019-09-05
 */
public class Sign extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 签到时间 */
	private Date signDate;
	/** 用户id */
	private Integer uid;
	/** 签到 */
	private String signJinb;
	/** 连续签到天数 */
	private Integer signTs;
	/**  */
	private Integer valid;
	/** 唯一判断 */
	private String codes;
	/** 补签标记 1为补签 0为正常签到 */
	private Integer flag;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setSignDate(Date signDate) 
	{
		this.signDate = signDate;
	}

	public Date getSignDate() 
	{
		return signDate;
	}
	public void setUid(Integer uid) 
	{
		this.uid = uid;
	}

	public Integer getUid() 
	{
		return uid;
	}
	public void setSignJinb(String signJinb) 
	{
		this.signJinb = signJinb;
	}

	public String getSignJinb() 
	{
		return signJinb;
	}
	public void setSignTs(Integer signTs) 
	{
		this.signTs = signTs;
	}

	public Integer getSignTs() 
	{
		return signTs;
	}
	public void setValid(Integer valid) 
	{
		this.valid = valid;
	}

	public Integer getValid() 
	{
		return valid;
	}
	public void setCodes(String codes) 
	{
		this.codes = codes;
	}

	public String getCodes() 
	{
		return codes;
	}
	public void setFlag(Integer flag) 
	{
		this.flag = flag;
	}

	public Integer getFlag() 
	{
		return flag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("signDate", getSignDate())
            .append("uid", getUid())
            .append("signJinb", getSignJinb())
            .append("signTs", getSignTs())
            .append("valid", getValid())
            .append("codes", getCodes())
            .append("flag", getFlag())
            .toString();
    }
}
